﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LinqToBing.Bing.Wrapper.Search;

namespace LinqToBing.Bing.Wrapper.Interfaces
{
    /// <summary>
    /// Base interface for search results.
    /// </summary>
    public interface ISearchResult : ISearch
    {
        /// <summary>
        /// the title of the search (when needed)
        /// </summary>
        string Title { get; set; }

        /// <summary>
        /// The uri reference to the result list.
        /// </summary>
        Uri Url { get; set; }

        /// <summary>
        /// Number of results available on Bing search engine. This is not a concise number, but represents
        /// a range of availability, and is returned into the search result, so use it only for indication.
        /// </summary>
        int Total { get; set; }

        SearchResultHeader Header { get; set; }
        SearchResultBody Body { get; set; }
    }
}
